<!DOCTYPE html
        PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
    <title>40Writers</title>
 
 <%= stylesheet_link_tag 'main' %>  
 
   
</head>
<body>

    <div id="container">
      <div id="header">
				<table>
				
				<tr>
				<td>
				<font color="#005CB8"><b><font face="trebuchet ms" size="5">Admin site</font></b></font>
				</td>
				<td>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</td>
				<td align=right >
				<%= image_tag("bifBOTka.png") %>
				</td>
				<td>
				<%= "Hello " + User.find(session[:user_id]).name %>
				</td>
				<td>
				<%= link_to("Sign Out",  {:controller => 'account',:action => 'logout'}) %>
				</td>
				</tr>
				</table>
				</div>
				<font face="trebuchet ms">
				<%= javascript_include_tag :defaults %>
				<%= active_scaffold_includes %>


 


      <div id="sidemenu">
        <%= render :partial => 'layouts/menu' %>
      </div>
      <div id="content">
        <% if flash[:notice] -%>
          <div id="notice"><%= flash[:notice] %></div>
        <% end -%>
        <% if flash[:error] -%>
          <div id="error"><%= flash[:error] %></div>
        <% end -%>
        <%= yield %>
      </div>
    </div>
  </body>
</font>  
</html>